package cn.itcast.controller

import org.springframework.web.bind.annotation.{GetMapping, RequestMapping, RestController}

/**
  * 测试springboot的scala rest
  * create by zhangtian on 2019/1/11
  */
@RestController
@RequestMapping(value = Array("bootScala"))
class BootScalaController {
  @GetMapping(value = Array("hello"))
  def sayHelloBootJava = "Hello boot scala ......"
}
